#include <QString>

class NetServerConfig{
public:

    static  NetServerConfig* GetInstance();

    int     ReadFile(QString configFilePath);

    QString GetServerIp()   const   {return _serverIp;}
    QString GetServerPort() const   {return _serverPort;}

private:

    NetServerConfig();

    static NetServerConfig* _instance;
    int                     _configNum;    //配置文件值的数目
    QString                 _serverIp;
    QString                 _serverPort;
};
